﻿using System;

namespace Snake.Gameplay
{
    public enum TriggerSource
    {
        /// <summary>
        /// 事件触发
        /// </summary>
        GameplayEvent,

        /// <summary>
        /// Tag添加时触发
        /// </summary>
        OwnerTagAdded,

        /// <summary>
        /// Tag存在时触发
        /// </summary>
        OwnerTagPresent,
    }

    [Serializable]
    public class AbilityTrigger
    {
        public string triggerTag;
        public TriggerSource triggerSource;

        public bool CheckGameplayEvent()
        {
            return false;
        }

        public bool CheckTagAdded()
        {
            return false;
        }

        public bool CheckTagPresent()
        {
            return false;
        }
    }
}